<template>
  <div @click="bannerClick">
    <div class="editbanner">
      <span>{{left}}</span>
      <span><slot name="right" /></span>
    </div>
  </div>
</template>

<script>
export default {
  name: "EditBanner",
  props:['left'],
  methods:{
    bannerClick(){
      this.$emit('bannerClick')
    }
  }
}
</script>

<style scoped lang="less">
.editbanner{
  background-color: white;
  align-items: center;
  color: #333;
  padding: 4.17vw;
  font-size: 3.89vw;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}
</style>
